package com.bing.beike.mapper;


import com.bing.beike.entity.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    int register(User user);

    User findByUsername(String username);

    boolean findByEmail(String email);

    User login(User user);

}
